package a.f;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class jd
  implements rc
{
  List e = new ArrayList();
  public static boolean f;
  
  public boolean canLayout(o paramo)
  {
    boolean bool = o.eg;
    int i = o.dg;
    Iterator localIterator = this.e.iterator();
    while (localIterator.hasNext())
    {
      rc localrc = (rc)localIterator.next();
      if (!localrc.canLayout(paramo))
      {
        if ((bool) || (i != 0)) {
          break label62;
        }
        return false;
      }
    }
    label62:
    return true;
  }
  
  public void doLayout(o paramo)
  {
    boolean bool = o.eg;
    int i = o.dg;
    if ((bool) || (this.e.size() > 0))
    {
      Iterator localIterator = this.e.iterator();
      do
      {
        if (!localIterator.hasNext()) {
          break;
        }
        rc localrc = (rc)localIterator.next();
        localrc.doLayout(paramo);
      } while (i == 0);
    }
  }
  
  public void a(rc paramrc)
  {
    this.e.add(paramrc);
  }
  
  public void a(List paramList)
  {
    c(paramList);
    this.e.addAll(paramList);
  }
  
  public List a()
  {
    return this.e;
  }
  
  public void b(List paramList)
  {
    c(paramList);
    this.e = paramList;
  }
  
  public void b()
  {
    this.e.clear();
  }
  
  private static void c(List paramList)
  {
    Iterator localIterator = paramList.iterator();
    while (localIterator.hasNext())
    {
      Object localObject = localIterator.next();
      if (!(localObject instanceof rc)) {
        throw new IllegalArgumentException("Given list does not contain Layouter objects only.");
      }
    }
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.f.jd
 * JD-Core Version:    0.7.0.1
 */